<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="decorator" content="default" />
<title>批量操作</title>

</head>
<body>
	<br>
	<form:form id="inputForm" modelAttribute="fy" class="form-horizontal">
		<c:if test="${not empty type and type=='qxxz'}">
			<div class="control-group">
				<label class="control-label">缺陷性质:</label>
				<div class="controls">
					<form:hidden path="qxxz" htmlEscape="false" maxlength="50"
								 class="required input-large" />
					<span class="help-inline"><font color="red">"圆形缺陷－A", "条形缺陷－B", "未熔合－C", "未焊透－D",
						"裂纹―E", "咬边―F", "内凹－W" </font> </span>
				</div>
			</div>
			<script>
				$("#qxxz").select2({tags:eval('${fns:getDictValueListJson('qxxz')}'),maximumSelectionSize: 1});
			</script>
		</c:if>
		<c:if test="${not empty type and type=='qxdl'}">
			<div class="control-group">
				<label class="control-label">缺陷性质:</label>
				<div class="controls">
					<form:hidden path="qxdl" htmlEscape="false" maxlength="50"
								 class="input-large" />
				</div>
			</div>
			<script>
				$("#qxdl").select2({tags:eval('${fns:getDictValueListJson('qxdl')}'),maximumSelectionSize: 1});
			</script>
		</c:if>
		<c:if test="${not empty type and type=='pdjg'}">
			<div class="control-group">
				<label class="control-label">评定结果:</label>
				<div class="controls">
					<form:select path="pdjg" class="input-large required">
						<form:option value="" label="请选择" />
						<form:options items="${fns:getDictList('dict_fy_pdjg')}"
									  itemLabel="label" itemValue="value" htmlEscape="false" />
					</form:select>
				</div>
			</div>
		</c:if>
		<c:if test="${empty type}">
			<div class="control-group">
				<div class="controls">
					参数设置有误
				</div>
			</div>
		</c:if>
	</form:form>

<script>
	$(function () {


	});

</script>
</body>
</html>